// let arr  = ['1','20','-5','3'];
// console.log(arr)

// let newArr = arr.map(s =>parseInt(s));
// console.log(newArr)

let arr  = ['1','20','-5','3'];
console.log(arr)

let newArr2 = arr.map(function (s) {
    return parseInt(s)
})
console.log(newArr2)
